package data;

import database.DataDAO;
import database.Database;

public class Field {
	private String title, helphtml, knowndata;
	private int fieldID, projectID, xCoord, width;
	
	/**
	 * Default Field Constructor
	 */
	public Field(){
		
	}
	
	public Field(int in_fID, int in_projID, String in_title, int in_xCoord,
			int in_width, String in_helphtml, String in_knowndata) {
		fieldID = in_fID;
		projectID = in_projID;
		title = in_title;
		xCoord = in_xCoord;
		width = in_width;
		helphtml = in_helphtml;
		knowndata = in_knowndata;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setHelphtml(String helphtml) {
		this.helphtml = helphtml;
	}

	public void setFieldID(int fieldID) {
		this.fieldID = fieldID;
	}

	public void setProjectID(int projectID) {
		this.projectID = projectID;
	}

	public void setxCoord(int xCoord) {
		this.xCoord = xCoord;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public String getTitle() {
		return title;
	}

	public String getHelphtml() {
		return helphtml;
	}

	public int getFieldID() {
		return fieldID;
	}

	public int getProjectID() {
		return projectID;
	}

	public int getxCoord() {
		return xCoord;
	}

	public int getWidth() {
		return width;
	}

}
